#ifndef SYS_HANDLER_H
#define SYS_HANDLER_H

//read attempts to read a requested number of bytes from the 
//given ﬁle descriptor. The read
//values are written into the provided buffer sequentially
ssize_t read( int fd, void *buf, size_t  count);

//write attempts to write a requested number of bytes to the 
//given ﬁle descriptor. The values to be written are read from the 
//provided buffer sequentially.
ssize_t write(int fd, const void *buf, size_t count);

//time returns the time in milliseconds that have elapsed since the 
//kernel booted up. This can be interpreted as the number of milliseconds 
//to ellapse since the kernel timer was turned on.
unsigned long time(void);

//sleep suspends the execution of the current task for the given time. 
//The task may continue executing after atleast the given time has elapsed.
void sleep(unsigned long millis);
#endif
